From 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Wed, 18 Nov 2020 23:26:45 +0100 Subject: rm node_modules --- .../node-gyp/test/fixtures/test-charmap.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 node_modules/node-gyp/test/fixtures/test-charmap.py (limited to 'node_modules/node-gyp/test/fixtures/test-charmap.py') diff --git a/node_modules/node-gyp/test/fixtures/test-charmap.py b/node_modules/node-gyp/test/fixtures/test-charmap.py deleted file mode 100644 index d9fa6fb..0000000 --- a/node_modules/node-gyp/test/fixtures/test-charmap.py +++ /dev/null @@ -1,22 +0,0 @@ -import sys -import locale - -reload(sys) - -def main(): - encoding = locale.getdefaultlocale()[1] - if not encoding: - return False - - sys.setdefaultencoding(encoding) - textmap = { - 'cp936': u'\u4e2d\u6587', - 'cp1252': u'Lat\u012Bna', - 'cp932': u'\u306b\u307b\u3093\u3054' - } - if textmap.has_key(encoding): - print textmap[encoding] - return True - -if __name__ == '__main__': - print main() -- cgit v1.2.3