From 770449e24b3b0fa60d870bc3404961ddca754c3b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 3 Aug 2015 08:42:08 -0400 Subject: Removed unused Field.get_flatchoices() method. Unused since c2ba59fc1da5287d6286e2c2aca4083d5bafe056 (Django 1.0). Thanks Andy Baker for the report. --- tests/model_fields/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/model_fields') diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index 128bdb25af..bc183ba431 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -480,8 +480,8 @@ class BooleanFieldTests(test.TestCase): class ChoicesTests(test.SimpleTestCase): def test_choices_and_field_display(self): """ - Check that get_choices and get_flatchoices interact with - get_FIELD_display to return the expected values (#7913). + Check that get_choices() interacts with get_FIELD_display() to return + the expected values (#7913). """ self.assertEqual(Whiz(c=1).get_c_display(), 'First') # A nested value self.assertEqual(Whiz(c=0).get_c_display(), 'Other') # A top level value -- cgit v1.3