#7092: Silence more py3k warnings. Patch by Florent Xicluna.
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 0d25129..e59fce2 100644
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -266,7 +266,7 @@
         site.abs__file__()
         for module in (sys, os, __builtin__):
             try:
-                self.assertTrue(os.path.isabs(module.__file__), `module`)
+                self.assertTrue(os.path.isabs(module.__file__), repr(module))
             except AttributeError:
                 continue
         # We could try everything in sys.modules; however, when regrtest.py
@@ -318,7 +318,7 @@
 
     def test_sitecustomize_executed(self):
         # If sitecustomize is available, it should have been imported.
-        if not sys.modules.has_key("sitecustomize"):
+        if "sitecustomize" not in sys.modules:
             try:
                 import sitecustomize
             except ImportError: