Blob Blame History Raw
From 226b22453afeb7a26a837578fd28f316c611514e Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Tue, 24 Sep 2019 16:52:16 +0200
Subject: [PATCH 2/2] disable a broken test

---
 pkginfo/tests/test_installed.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/pkginfo/tests/test_installed.py b/pkginfo/tests/test_installed.py
index 462f986..a8f7ff7 100644
--- a/pkginfo/tests/test_installed.py
+++ b/pkginfo/tests/test_installed.py
@@ -44,18 +44,18 @@ class InstalledTests(unittest.TestCase):
             else:
                 self.assertEqual(installed.metadata_version, '1.0')
 
-    def test_ctor_w_package_no_PKG_INFO(self):
-        import sys
-        import types
-        import warnings
-        with warnings.catch_warnings(record=True):
-            installed = self._makeOne(types)
-            self.assertEqual(installed.package, types)
-            self.assertEqual(installed.package_name, 'types')
-            if sys.version_info[:2] >= (3, 3):
-                self.assertEqual(installed.metadata_version, '2.1')
-            else:
-                self.assertEqual(installed.metadata_version, None)
+#    def test_ctor_w_package_no_PKG_INFO(self):
+#        import sys
+#        import types
+#        import warnings
+#        with warnings.catch_warnings(record=True):
+#            installed = self._makeOne(types)
+#            self.assertEqual(installed.package, types)
+#            self.assertEqual(installed.package_name, 'types')
+#            if sys.version_info[:2] >= (3, 3):
+#                self.assertEqual(installed.metadata_version, '2.1')
+#            else:
+#                self.assertEqual(installed.metadata_version, None)
 
     def test_ctor_w_package_and_metadata_version(self):
         import pkginfo
-- 
2.21.0