Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 916584b

Browse filesBrowse files
committed
Remove toplevel unit/ directory.
- Move `memleak.py` and `compare_backend_driver_result.py` to tools/. Removed some Py2 workarounds there. - `ellipse_large.py` currently fails with RuntimeError: adjustable='datalim' is not allowed when both axes are shared. IOW we're not even bothering keeping it up to date, so remove it. - `legend_unit.py` is basically covered by `test_legend.py`. - `longs_test.py` should be covered by `test_simplification.py::test_overflow`. - `mlab_unit.py` has never been ported to Py3 (`import StringIO`), and most of mlab is on its way out anyways, so remove it. - `threading_test.py` could be converted into a proper unit test but it would be a rather slow one (checking that there is no race condition by running a bunch of iterations) so I'd rather not do it unless it turns out we're reintroducing race conditions.
1 parent 911a1e9 commit 916584b
Copy full SHA for 916584b

File tree

Expand file treeCollapse file tree

7 files changed

+1
-338
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+1
-338
lines changed

‎unit/memleak.py renamed to ‎tools/memleak.py

Copy file name to clipboardExpand all lines: tools/memleak.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
import gc
44
from io import BytesIO
5-
6-
try:
7-
import tracemalloc
8-
except ImportError:
9-
raise ImportError("This script requires Python 3.4 or later")
5+
import tracemalloc
106

117
try:
128
import psutil

‎unit/ellipse_large.py

Copy file name to clipboardExpand all lines: unit/ellipse_large.py
-139Lines changed: 0 additions & 139 deletions
This file was deleted.

‎unit/legend_unit.py

Copy file name to clipboardExpand all lines: unit/legend_unit.py
-27Lines changed: 0 additions & 27 deletions
This file was deleted.

‎unit/longs_test.py

Copy file name to clipboardExpand all lines: unit/longs_test.py
-13Lines changed: 0 additions & 13 deletions
This file was deleted.

‎unit/mlab_unit.py

Copy file name to clipboardExpand all lines: unit/mlab_unit.py
-82Lines changed: 0 additions & 82 deletions
This file was deleted.

‎unit/threading_test.py

Copy file name to clipboardExpand all lines: unit/threading_test.py
-72Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.