diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-19 19:35:29 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-19 23:22:55 +0200 |
commit | 5c779d9d6421cfa20602c7c5d58379a10b348f70 (patch) | |
tree | 417a99c48e86f1eadd34bf85036e9bd61cc28eb7 /dev-python/pygraphviz | |
parent | dev-python/pyelftools: remove unused patch (diff) | |
download | gentoo-5c779d9d6421cfa20602c7c5d58379a10b348f70.tar.gz gentoo-5c779d9d6421cfa20602c7c5d58379a10b348f70.tar.bz2 gentoo-5c779d9d6421cfa20602c7c5d58379a10b348f70.zip |
dev-python/pygraphviz: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2362
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pygraphviz')
-rw-r--r-- | dev-python/pygraphviz/files/pygraphviz-1.1-avoid_tests.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-python/pygraphviz/files/pygraphviz-1.1-avoid_tests.patch b/dev-python/pygraphviz/files/pygraphviz-1.1-avoid_tests.patch deleted file mode 100644 index 0d52e968bf0a..000000000000 --- a/dev-python/pygraphviz/files/pygraphviz-1.1-avoid_tests.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- pygraphviz/agraph.py -+++ pygraphviz/agraph.py -@@ -1767,29 +1767,3 @@ - value.decode(self.encoding)) - except KeyError: # gv.agxget returned KeyError, skip - continue -- -- -- --def _test_suite(): -- import doctest -- suite = doctest.DocFileSuite('tests/graph.txt', -- 'tests/attributes.txt', -- 'tests/layout_draw.txt', -- 'tests/subgraph.txt', -- package='pygraphviz') -- doctest.testmod() # test docstrings in module -- return suite -- -- --if __name__ == "__main__": -- import os -- import sys -- import unittest -- if sys.version_info[:2] < (2, 4): -- print "Python version 2.4 or later required for tests (%d.%d detected)." % sys.version_info[:2] -- sys.exit(-1) -- # directory of package (relative to this) -- nxbase=sys.path[0]+os.sep+os.pardir -- sys.path.insert(0,nxbase) # prepend to search path -- unittest.TextTestRunner().run(_test_suite()) -- ---- pygraphviz/__init__.py -+++ pygraphviz/__init__.py -@@ -67,6 +67,3 @@ - print "pygraphviz-"+__version__ - neato=_get_prog('neato') - os.system(neato+' -V') -- --# import tests: run as pygraphviz.test() --from tests import run as test |