summaryrefslogtreecommitdiff
path: root/tests/test_copy.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_copy.py')
-rwxr-xr-xtests/test_copy.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_copy.py b/tests/test_copy.py
index cf06fa4..05bef21 100755
--- a/tests/test_copy.py
+++ b/tests/test_copy.py
@@ -28,7 +28,7 @@ import sys
import string
import unittest
from .testutils import ConnectingTestCase, skip_before_postgres, slow, StringIO
-from .testutils import crdb_version, skip_if_crdb
+from .testutils import skip_if_crdb
from itertools import cycle
from subprocess import Popen, PIPE
@@ -59,7 +59,6 @@ class MinimalWrite(TextIOBase):
return self.f.write(data)
-@skip_if_crdb
@skip_copy_if_green
class CopyTests(ConnectingTestCase):
@@ -68,9 +67,8 @@ class CopyTests(ConnectingTestCase):
self._create_temp_table()
def _create_temp_table(self):
+ skip_if_crdb("copy", self.conn)
curs = self.conn.cursor()
- if crdb_version(self.conn) is not None:
- curs.execute("SET experimental_enable_temp_tables = 'on'")
curs.execute('''
CREATE TEMPORARY TABLE tcopy (
id serial PRIMARY KEY,