Closes #13661: Check added for type of logger name.
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 90d293e..a022680 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -293,6 +293,8 @@
             ('INF.BADPARENT', 'INFO', '4'),
         ])
 
+    def test_invalid_name(self):
+        self.assertRaises(ValueError, logging.getLogger, any)
 
 class BasicFilterTest(BaseTest):