summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2021-08-28 09:17:26 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2021-08-28 09:21:53 -0700
commit20d8d0bfe4668546e94d00821e9c44e045ac34e3 (patch)
tree54167f0a346e24cb008375497088cc0c2e71736c
parent8899c257967dd9c68d0b87114f977fdc42e91071 (diff)
downloadpip-20d8d0bfe4668546e94d00821e9c44e045ac34e3.tar.gz
Remove unused method ConfigurationMixin.get_file_contents()
Unused since its introduction in f9990605dc580ad775a1d40852442040bdfb0ba1.
-rw-r--r--news/50f14abd-68a3-476f-9523-b6c5c86e3c68.trivial.rst0
-rw-r--r--tests/lib/configuration_helpers.py5
2 files changed, 0 insertions, 5 deletions
diff --git a/news/50f14abd-68a3-476f-9523-b6c5c86e3c68.trivial.rst b/news/50f14abd-68a3-476f-9523-b6c5c86e3c68.trivial.rst
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/news/50f14abd-68a3-476f-9523-b6c5c86e3c68.trivial.rst
diff --git a/tests/lib/configuration_helpers.py b/tests/lib/configuration_helpers.py
index c54265100..e315ceaa9 100644
--- a/tests/lib/configuration_helpers.py
+++ b/tests/lib/configuration_helpers.py
@@ -46,8 +46,3 @@ class ConfigurationMixin:
yield path
os.remove(path)
-
- @staticmethod
- def get_file_contents(path):
- with open(path) as f:
- return f.read()