forked from pool/python-columnize
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-columnize?expand=0&rev=5
29 lines
711 B
Diff
29 lines
711 B
Diff
---
|
|
__pkginfo__.py | 2 +-
|
|
test_columnize.py | 3 ++-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/__pkginfo__.py
|
|
+++ b/__pkginfo__.py
|
|
@@ -45,7 +45,7 @@ exec(
|
|
)
|
|
)
|
|
|
|
-tests_require = ["mock"]
|
|
+tests_require = [""]
|
|
web = "https://github.com/rocky/pycolumnize"
|
|
# tracebacks in zip files are funky and not debuggable
|
|
zip_safe = False
|
|
--- a/test_columnize.py
|
|
+++ b/test_columnize.py
|
|
@@ -1,7 +1,8 @@
|
|
#!/usr/bin/env python
|
|
# -*- Python -*-
|
|
"Unit test for Columnize"
|
|
-import mock, operator, os, sys, unittest
|
|
+import operator, os, sys, unittest
|
|
+import unittest.mock as mock
|
|
|
|
top_builddir = os.path.join(os.path.dirname(__file__), os.path.pardir)
|
|
if top_builddir[-1] != os.path.sep:
|