mozjs_sys 0.67.1

System crate for the Mozilla SpiderMonkey JavaScript engine.
1
2
3
4
5
6
7
8
from tests import common
import hglib
from hglib.util import b

class test_encoding(common.basetest):
    def test_basic(self):
        self.client = hglib.open(encoding='utf-8')
        self.assertEquals(self.client.encoding, b('utf-8'))