summaryrefslogtreecommitdiffstats
path: root/contrib/python/prettytable/py3/patches/01-fix-tests.patch
blob: c439ba2902c641e4645cf25ba749cb88f40d552b (plain) (blame)
1
2
3
4
5
6
--- contrib/python/prettytable/py3/tests/test_style.py	(index)
+++ contrib/python/prettytable/py3/tests/test_style.py	(working tree)
@@ -18 +18,2 @@ from prettytable.prettytable import _str_block_width
-DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
+import yatest.common as yc
+DATA_DIR = os.path.join(os.path.dirname(yc.source_path(__file__)), "data")