Fixed a typo in Utilities causing an exception. eric7

Mon, 06 Jun 2022 11:09:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 06 Jun 2022 11:09:43 +0200
branch
eric7
changeset 9133
3615ce93b738
parent 9130
21d26ab100ba
child 9134
8caa0936e258

Fixed a typo in Utilities causing an exception.

eric7/Utilities/__init__.py file | annotate | diff | comparison | revisions
--- a/eric7/Utilities/__init__.py	Sun Jun 05 17:10:10 2022 +0200
+++ b/eric7/Utilities/__init__.py	Mon Jun 06 11:09:43 2022 +0200
@@ -1318,7 +1318,7 @@
     @rtype list of str
     """
     dn, fn = os.path.split(fn)
-    fn, ext = os.psth.splitext(fn)
+    fn, ext = os.path.splitext(fn)
     prefixes = ["test", "test_"]
     postfixes = ["_test"]
     return [

eric ide

mercurial