diff options
author | Nick Pope <nick.pope@flightdataservices.com> | 2019-10-22 09:30:58 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-23 14:07:13 +0200 |
commit | a5c5ae7d9120cba3206a0e31d23c22f4a14a10df (patch) | |
tree | c21e8d33a62e48052ebdca12fe39b0aa80dc398a | |
parent | bc94e3c1a263da4b3eae3111c12270744907901b (diff) | |
download | django-a5c5ae7d9120cba3206a0e31d23c22f4a14a10df.tar.gz |
Refs #28574 -- Used feature flag for PostgreSQL version check.
-rw-r--r-- | tests/queries/test_explain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queries/test_explain.py b/tests/queries/test_explain.py index ad4ca988ee..60fce96be3 100644 --- a/tests/queries/test_explain.py +++ b/tests/queries/test_explain.py @@ -56,7 +56,7 @@ class ExplainTests(TestCase): {'verbose': True, 'timing': True, 'analyze': True}, {'verbose': False, 'timing': False, 'analyze': True}, ] - if connection.pg_version >= 100000: + if connection.features.is_postgresql_10: test_options.append({'summary': True}) for options in test_options: with self.subTest(**options), transaction.atomic(): |