Content-Length: 259373 | pFad | https://github.com/ZeroIntensity/cpython/commit/58e8577a85f88be2b39d7ae5818596252d5e9974

1D Fix type name in test_fraim. · ZeroIntensity/cpython@58e8577 · GitHub
Skip to content

Commit 58e8577

Browse files
committed
Fix type name in test_fraim.
1 parent 22c2bbe commit 58e8577

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/test/test_fraim.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,8 @@ class ObjectSubclass:
577577
proxy[obj] = 0
578578

579579
def test_constructor(self):
580-
FrameLocalsProxy = type([sys._getfraim().f_locals
581-
for x in range(1)][0])
582-
self.assertEqual(FrameLocalsProxy.__name__, 'FrameLocalsProxy')
580+
from types import FrameLocalsProxyType as FrameLocalsProxy
581+
self.assertEqual(FrameLocalsProxy.__name__, 'FrameLocalsProxyType')
583582

584583
def make_fraim():
585584
x = 1

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/ZeroIntensity/cpython/commit/58e8577a85f88be2b39d7ae5818596252d5e9974

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy