]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove cx_oracle test rule from requirements
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Jan 2018 15:40:36 +0000 (10:40 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Jan 2018 15:41:03 +0000 (10:41 -0500)
Removed an oracle-specific requirements rule from the public
test suite that was interfering with third party dialect
suites.

Change-Id: Iebae510edcb8ef908dcd9be9222888e12caed97d

doc/build/changelog/unreleased_12/fix_oracle_test_rule.rst [new file with mode: 0644]
lib/sqlalchemy/testing/suite/test_types.py
test/requirements.py

diff --git a/doc/build/changelog/unreleased_12/fix_oracle_test_rule.rst b/doc/build/changelog/unreleased_12/fix_oracle_test_rule.rst
new file mode 100644 (file)
index 0000000..073414a
--- /dev/null
@@ -0,0 +1,6 @@
+.. change::
+    :tags: bug, tests
+
+    Removed an oracle-specific requirements rule from the public
+    test suite that was interfering with third party dialect
+    suites.
index e419fb450b3432025fd6f608719ac510f5943724..83aac28505aad7824e6a5f8d9705544504aae5d5 100644 (file)
@@ -495,7 +495,6 @@ class NumericTest(_LiteralRoundTripFixture, fixtures.TestBase):
             numbers
         )
 
-    @testing.fails_if(testing.requires.broken_cx_oracle6_numerics)
     @testing.requires.precision_numerics_enotation_large
     def test_enotation_decimal_large(self):
         """test exceedingly large decimals.
index be85c1c0dc54e7dea7e1dd472ffdf52a450fc124..3cbc5aaada675efa73e7a0d29d671b04116c7934 100644 (file)
@@ -1027,15 +1027,6 @@ class DefaultRequirements(SuiteRequirements):
             config.db.scalar("show server_encoding").lower() == "utf8"
         )
 
-    @property
-    def broken_cx_oracle6_numerics(config):
-        return exclusions.LambdaPredicate(
-            lambda config: against(config, 'oracle+cx_oracle') and
-            config.db.dialect.cx_oracle_ver <= (6, 0, 2) and
-            config.db.dialect.cx_oracle_ver > (6, ),
-            "cx_Oracle github issue #77"
-        )
-
     @property
     def oracle5x(self):
         return only_if(