File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ preview-pypi-description:
5858
5959.PHONY : coverage
6060coverage :
61- coverage run --source=objgraph tests.py
61+ python2 -m coverage run --source=objgraph tests.py
6262 python3 -m coverage run -a --source=objgraph tests.py
6363 coverage report -m --fail-under=100
6464
Original file line number Diff line number Diff line change 1212import types
1313import unittest
1414
15- # distutils imports `imp`, which triggers a DeprecationWarning starting with
15+ # setuptools imports `imp`, which triggers a DeprecationWarning starting with
1616# Python 3.4 in the middle of my pristine test suite. But if I do the import
1717# upfront, there's no warning. I cannot explain this, I'm just happy there's
1818# no warning.
19- import distutils # noqa
19+ import setuptools # noqa
2020
2121try :
2222 from unittest import mock
@@ -478,8 +478,6 @@ def test_gradient_empty(self):
478478 (0.2 , 0.3 , 0.4 ), 0 , 0 ))
479479
480480 @skipIf (sys .version_info [0 ] > 2 , "Python 3 has no unbound methods" )
481- @skipIf (sys .version_info [:2 ] < (2 , 6 ),
482- "Python 2.5 and older has no __func__" )
483481 def test_edge_label_unbound_method (self ):
484482 class MyClass (object ):
485483 def a_method (self ):
You can’t perform that action at this time.
0 commit comments